# -*- coding: utf-8 -*-
# @Author: Tim Liu
# @Date: 2024-10-17
# @Last Modified by: Tim Liu
# @Last Modified time: 2024-10-17

# @Description: Conversation DAL 

from sqlalchemy.ext.asyncio import AsyncSession
from core.crud import DalBase
from crewplus.apps.conversation import models, schemas


class ConversationDal(DalBase):

    def __init__(self, db: AsyncSession):
        super(ConversationDal, self).__init__()
        self.db = db
        self.model = models.ConversationDB
        self.schema = schemas.ConversationSimpleOut
